<?php
namespace Models;
use Models\Model\User;
use Models\Model\UserTable;
use Models\Model\Userdetails;
use Models\Model\UserdetailsTable;
use Models\Model\Subscribe;
use Models\Model\SubscribeTable;
use Models\Model\Forgetpassword;
use Models\Model\ForgetpasswordTable;
use Models\Model\UserMedicineOrder;
use Models\Model\UserMedicineOrderTable;
use Models\Model\OrderDeliveryDetails;
use Models\Model\OrderDeliveryDetailsTable;
use Models\Model\Discounts;
use Models\Model\DiscountsTable;
use Models\Model\Complaints;
use Models\Model\ComplaintsTable;
use Models\Model\ComplaintRelpies;
use Models\Model\ComplaintRelpiesTable;
use Models\Model\Reviews;
use Models\Model\ReviewsTable;
use Models\Model\Rating;
use Models\Model\RatingTable;
use Models\Model\Country;
use Models\Model\CountryTable;
use Models\Model\State;
use Models\Model\StateTable;
use Models\Model\RequestServices;
use Models\Model\RequestServicesTable;
use Models\Model\RequestServiceTests;
use Models\Model\RequestServiceTestsTable;
use Models\Model\Insurances;
use Models\Model\InsurancesTable;
use Models\Model\UploadImages;
use Models\Model\UploadImagesTable;
use Models\Model\Notifications;
use Models\Model\NotificationsTable;
use Zend\Db\ResultSet\ResultSet;
use Zend\Db\TableGateway\TableGateway;
class Module
{
    public function getAutoloaderConfig()
    {
        return array(
            'Zend\Loader\ClassMapAutoloader' => array(
                __DIR__ . '/autoload_classmap.php',
            ),
            'Zend\Loader\StandardAutoloader' => array(
                'namespaces' => array(
                    __NAMESPACE__ => __DIR__ . '/src/' . __NAMESPACE__,
                ),
            ),
        );
    }

    public function getServiceConfig()
    {
        return array(
            'factories' => array(
				'Models\Model\UserFactory'					=>'Models\Factory\Model\UserTableFactory',
				'Models\Model\SubscribeFactory'				=>'Models\Factory\Model\SubscribeTableFactory',
				'Models\Model\ForgetpasswordFactory'		=>'Models\Factory\Model\ForgetpasswordTableFactory',
				'Models\Model\UserDetailsFactory'			=>'Models\Factory\Model\UserDetailsTableFactory',
				'Models\Model\UserMedicineOrderFactory'		=>'Models\Factory\Model\UserMedicineOrderTableFactory',
				'Models\Model\OrderDeliveryDetailsFactory'	=>'Models\Factory\Model\OrderDeliveryDetailsTableFactory',
				'Models\Model\DiscountsFactory'				=>'Models\Factory\Model\DiscountsTableFactory',
				'Models\Model\ComplaintsFactory'			=>'Models\Factory\Model\ComplaintsTableFactory',
				'Models\Model\ReviewsFactory'				=>'Models\Factory\Model\ReviewsTableFactory',
				'Models\Model\RatingFactory'				=>'Models\Factory\Model\RatingTableFactory',
				'Models\Model\ComplaintRelpiesFactory'		=>'Models\Factory\Model\ComplaintRelpiesTableFactory',
				'Models\Model\CountryFactory'		        =>'Models\Factory\Model\CountryTableFactory',
				'Models\Model\StateFactory'		            =>'Models\Factory\Model\StateTableFactory',
				'Models\Model\RequestServicesFactory'		=>'Models\Factory\Model\RequestServicesTableFactory',
				'Models\Model\RequestServiceTestsFactory'	=>'Models\Factory\Model\RequestServiceTestsTableFactory',
				'Models\Model\InsurancesFactory'	=>'Models\Factory\Model\InsurancesTableFactory',
				'Models\Model\UploadImagesFactory'	=>'Models\Factory\Model\UploadImagesTableFactory',
				'Models\Model\NotificationsFactory'	=>'Models\Factory\Model\NotificationsTableFactory',
            ),
        );
    }

    public function getConfig()
    {
        return include __DIR__ . '/config/module.config.php';
    }
}